<?php $this->load->view('header', array('data' => $data));?>
<div id="center">
	<div id="left_box">
		<div class="module"><div class="text">域名管理</div></div>
		<div class="sub_module">
		<ul class="sub_module">
		<?php foreach ($data['module'][$data['current']['module']]['sub_module'] as $v) { ?>
			<li <?php if ($v['ename'] == $data['current']['sub_module']) echo "class='current'"; ?> ><a href="<?php echo "/{$data['current']['module']}/{$v['ename']}";?>"><?php echo $v['cname'];?></a></li>
		<?php }?>
		</ul>
		</div>
		<div class="desc_box1 desc_box">
			<div class="title"></div>
			<div class="content"></div>
		</div>
		<div class="desc_box2 desc_box">
			<div class="title"></div>
			<div class="content"></div>
		</div>
	</div>
	<div id="right_box">
		<form id="add_service" method="post" action="/domain/service_add/">
		<table class="add">
			<tr>
				<td class="col1">业务名称</td>
				<td class="col2"><input type="text" value="" name="service" />&nbsp;<input type="submit" value="新增" /></td>
				<td class="col3"><div class="service_msg"></div></td>
			</tr>
		</table>
		</form>
		<table class="del">
			<tr>
				<td class="col1">已有业务</td>
				<td class="col2">
					<ul>
					<?php foreach ($data['service'] as $v) {?>
						<li><?php echo $v['service'];echo "<a title='删除' service_id='{$v['id']}' href='javascript:void(0)'>x</a>" ?></li>
					<?php } ?>
					</ul>
				</td>
			</tr>
		</table>
	</div>
</div>
<?php $this->load->view('footer') ?>
